//index页面数据请求
import {HTTP} from "../utils/http";

class IndexModel extends HTTP{
    getData01(){
        return new Promise((resolve, reject)=>{
            this.doAjax({
                url: "/navs",
                type:"get",
                success(res){
                    resolve(res);
                },
                error(err){
                    reject(err);
                }
            })
        })
    }
}

export {IndexModel}
